Click or drag to resize

Header Class

This class contains header fields for Request and Response.
Inheritance Hierarchy
SystemObject
  Independentsoft.SipHeader

Namespace:  Independentsoft.Sip
Assembly:  Independentsoft.Sip (in Independentsoft.Sip.dll) Version: 1.0.700.17927
Syntax
public class Header : ICollection, IEnumerable

The Header type exposes the following members.

Constructors
  NameDescription
Public methodHeader
Initializes a new instance of the Header class.
Public methodHeader(String)
Initializes a new instance of the Header class from the specified string.
Top
Properties
  NameDescription
Public propertyCount
Gets the number of elements in the Header.
Public propertyIsFixedSize
Gets a value indicating whether the collection has a fixed size.
Public propertyIsReadOnly
Gets a value indicating whether the Header is read-only.
Public propertyIsSynchronized
Gets a value indicating whether access to the Header is synchronized (thread-safe).
Public propertyItemString
Gets or sets the value associated with the specified header key. In C#, this property is the indexer for the Header class.
Public propertyItemStandardHeader
Gets or sets the value associated with the specified header key. In C#, this property is the indexer for the Header class.
Public propertySyncRoot
Gets an object that can be used to synchronize access to the Header.
Top
Methods
  NameDescription
Public methodAdd(String, String)
Adds new header field with specified header name and value.
Public methodAdd(StandardHeader, String)
Adds new header field with specified header name and value.
Public methodClear
Removes all elements from the Header.
Public methodContains(String)
Determines whether the Header contains a specific header key.
Public methodContains(StandardHeader)
Determines whether the Header contains a specific header key.
Public methodContainsKey(String)
Determines whether the Header contains a specific header key.
Public methodContainsKey(StandardHeader)
Determines whether the Header contains a specific header key.
Public methodContainsValue
Determines whether the Header contains a specific header value.
Public methodCopyTo
Copies an Header array to the collection, starting at a specified target index.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumerator
Returns an IEnumerator that can iterate through the Header.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemove(String)
Removes the element with the specified header key from the Header.
Public methodRemove(StandardHeader)
Removes the element with the specified header key from the Header.
Public methodSet(String, String)
Sets value of the specified header field.
Public methodSet(StandardHeader, String)
Sets value of the specified header field.
Public methodToString
Converts the value of this instance to its equivalent string representation.
(Overrides ObjectToString.)
Top
See Also